import 'package:flutter/material.dart';
import 'dart:math';

class AppMainColor {
  static const Color tabbarActiveColor = Color(0xff35343D);
  static const Color tabbarNormalColor = Color(0xffB2B0C0);
  static const Color tabbarTitleColor = Color(0xff333333);
  static const Color normalBackColor = Color(0xffFBFAFF);
  static const Color dividerColor = Color(0xffEEEEEE);
  static const Color mainColor = Color(0xff00CA9D);
}

class AppTextStyle {
  static const TextStyle tabbarNormalStyle = TextStyle(fontSize: 10, color: AppMainColor.tabbarNormalColor);
  static const TextStyle tabbarActiveStyle = TextStyle(fontSize: 10, color: AppMainColor.mainColor);
  static const TextStyle tabbarTitleStyle = TextStyle(fontSize: 18, color: AppMainColor.tabbarTitleColor);
}


pushpage(BuildContext context,Widget sender) {
  Navigator.of(context).push(MaterialPageRoute(builder: (context) => sender));
}



Color randomColor() {
    return Color.fromARGB(255, Random().nextInt(256)+0, Random().nextInt(256)+0, Random().nextInt(256)+0);
}



const APP_VERSION = "APP_VERSION";
const USER_CACHE_KEY = "USER_CACHE_KEY";
const USER_LOGIN_ID = "USER_LOGIN_ID";
